package com.flute.framework.exception;

import com.flute.framework.monitor.EventLogger;
import com.flute.framework.monitor.MonitedValue;

public class FileBlockException extends Exception {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5035539725679239105L;

	public FileBlockException() {

	}

	public FileBlockException(String message) {
		super(message);
	}

	public FileBlockException(String message, String key) {
		super(message);
		EventLogger.error(new MonitedValue(message), EventLogger
				.getCurrentEventId(key));
	}

	public FileBlockException(Exception e) {
		super(e);
	}
}
